package com.hs.srm.admin.modules.notice.service;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.service.IService;
import com.hs.srm.admin.modules.notice.entity.NoticeMessageEntity;
import com.hs.srm.common.utils.PageUtils;

/**
 * 
 *
 * @author wangpeidong
 * @email wangpdcn@163.com
 * @date 2018-06-28 21:37:31
 */
public interface NoticeMessageService extends IService<NoticeMessageEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<NoticeMessageEntity> queryByType(String type);

    int updateStateByType(String type, Integer id);

    void publicMessage(int sendKeeper, int sendTeacher, String evaluate);

    NoticeMessageEntity selectStateByTemplateCode(String templateCode);
}

